package com.example.user.di.module;

import com.example.user.mvp.contract.LoginContract;
import com.example.user.mvp.model.LoginModel;

import dagger.Module;
import dagger.Provides;

@Module
public class LoginModule {

    LoginContract.View mView;

    public LoginModule(LoginContract.View mView) {
        this.mView = mView;
    }

    @Provides
    LoginContract.View providerLoginView(){
        return mView;
    }

    @Provides
    LoginContract.Model providerLoginModel(){
        return new LoginModel();
    }
}
